package com.ddwl.goods.mapper;

import com.ddwl.common.dao.mapper.TkMapper;
import com.ddwl.goods.model.Banner;
import com.ddwl.schema.bo.goods.BannerBo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BannerMapper extends TkMapper<Banner> {
    /**
     * 返回横幅列表
     * @return
     */
    List<Banner> bannerList(@Param("platform") Integer platform);

    List<Banner> findAll(@Param("params") BannerBo banner);

}
